﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PatientEdit.ascx.cs" Inherits="GWA.Controls.PatientEdit" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<cc1:Accordion ID="Accordion1" runat="server" HeaderCssClass="headzor" HeaderSelectedCssClass="selex" ContentCssClass="contentz">
        <Panes>
            <cc1:AccordionPane runat="server" ID="accPanePersonalInfo">
                <Header><h1>Personal Information</h1></Header>
                <Content>
                     <table style="text-align: right;">
                        <tr>
                            <td>First Name:</td>
                            <td><asp:TextBox ID="txtFName" runat="server"></asp:TextBox></td>
                            <td style="padding-left: 20px;">Last Name:</td>
                            <td><asp:TextBox ID="txtLName" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td>Address:</td>
                            <td><asp:TextBox ID="txtAddr" runat="server"></asp:TextBox></td>
                            <td style="padding-left: 20px;">City: </td>
                            <td><asp:TextBox ID="txtCity" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="width: 125px;">Zip:</td>
                            <td><asp:TextBox ID="txtZip" runat="server"></asp:TextBox></td>
                            <td style="padding-left: 20px;">State:</td>
                            <td align="left">
                                <asp:DropDownList ID="ddlState" runat="server">
                                    <asp:ListItem Value="AL" Text="Alabama"></asp:ListItem>
                                    <asp:ListItem Value="AK" Text="Alaska"></asp:ListItem>
                                    <asp:ListItem Value="AZ" Text="Arizona"></asp:ListItem>
                                    <asp:ListItem Value="AR" Text="Arkansas"></asp:ListItem>
                                    <asp:ListItem Value="CA" Text="California"></asp:ListItem>
                                    <asp:ListItem Value="CO" Text="Colorado"></asp:ListItem>
                                    <asp:ListItem Value="CT" Text="Connecticut"></asp:ListItem>
                                    <asp:ListItem Value="DE" Text="Delaware"></asp:ListItem>
                                    <asp:ListItem Value="DC" Text="District of Columbia"></asp:ListItem>
                                    <asp:ListItem Value="FL" Text="Florida"></asp:ListItem>
                                    <asp:ListItem Value="GA" Text="Georgia"></asp:ListItem>
                                    <asp:ListItem Value="HI" Text="Hawaii"></asp:ListItem>
                                    <asp:ListItem Value="ID" Text="Idaho"></asp:ListItem>
                                    <asp:ListItem Value="IL" Text="Illinois"></asp:ListItem>
                                    <asp:ListItem Value="IN" Text="Indiana"></asp:ListItem>
                                    <asp:ListItem Value="IA" Text="Iowa"></asp:ListItem>
                                    <asp:ListItem Value="KS" Text="Kansas"></asp:ListItem>
                                    <asp:ListItem Value="KY" Text="Kentucky"></asp:ListItem>
                                    <asp:ListItem Value="LA" Text="Louisiana"></asp:ListItem>
                                    <asp:ListItem Value="ME" Text="Maine"></asp:ListItem>
                                    <asp:ListItem Value="MD" Text="Maryland"></asp:ListItem>
                                    <asp:ListItem Value="MA" Text="Massachusetts"></asp:ListItem>
                                    <asp:ListItem Value="MI" Text="Michigan"></asp:ListItem>
                                    <asp:ListItem Value="MN" Text="Minnesota"></asp:ListItem>
                                    <asp:ListItem Value="MS" Text="Mississippi"></asp:ListItem>
                                    <asp:ListItem Value="MO" Text="Missouri"></asp:ListItem>
                                    <asp:ListItem Value="MT" Text="Montana"></asp:ListItem>
                                    <asp:ListItem Value="NE" Text="Nebraska"></asp:ListItem>
                                    <asp:ListItem Value="NV" Text="Nevada"></asp:ListItem>
                                    <asp:ListItem Value="NH" Text="New Hampshire"></asp:ListItem>
                                    <asp:ListItem Value="NJ" Text="New Jersey"></asp:ListItem>
                                    <asp:ListItem Value="NM" Text="New Mexico"></asp:ListItem>
                                    <asp:ListItem Value="NY" Text="New York"></asp:ListItem>
                                    <asp:ListItem Value="NC" Text="North Carolina"></asp:ListItem>
                                    <asp:ListItem Value="ND" Text="North Dakota"></asp:ListItem>
                                    <asp:ListItem Value="OH" Text="Ohio"></asp:ListItem>
                                    <asp:ListItem Value="OK" Text="Oklahoma"></asp:ListItem>
                                    <asp:ListItem Value="OR" Text="Oregon"></asp:ListItem>
                                    <asp:ListItem Value="PA" Text="Pennsylvania"></asp:ListItem>
                                    <asp:ListItem Value="RI" Text="Rhode Island"></asp:ListItem>
                                    <asp:ListItem Value="SC" Text="South Carolina"></asp:ListItem>
                                    <asp:ListItem Value="SD" Text="South Dakota"></asp:ListItem>
                                    <asp:ListItem Value="TN" Text="Tennessee"></asp:ListItem>
                                    <asp:ListItem Value="TX" Text="Texas"></asp:ListItem>
                                    <asp:ListItem Value="UT" Text="Utah"></asp:ListItem>
                                    <asp:ListItem Value="VT" Text="Vermont"></asp:ListItem>
                                    <asp:ListItem Value="VA" Text="Virginia"></asp:ListItem>
                                    <asp:ListItem Value="WA" Text="Washington"></asp:ListItem>
                                    <asp:ListItem Value="WV" Text="West Virginia"></asp:ListItem>
                                    <asp:ListItem Value="WI" Text="Wisconsin"></asp:ListItem>
                                    <asp:ListItem Value="WY" Text="Wyoming"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>Phone:</td>
                            <td><asp:TextBox ID="txtPhone" runat="server"></asp:TextBox></td>
                            <td style="padding-left: 20px">Healthcare: </td> 
                            <td>
                                <asp:RadioButtonList ID="rdbHealthcare" runat="server">
                                    <asp:ListItem Value="True" Text="True"></asp:ListItem>
                                    <asp:ListItem Value="False" Text="False"></asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" align="right">
                                <asp:Button ID="btnUpdate" runat="server" Text="Update" OnClick="btnUpdate_Click" />
                            </td>
                        </tr>
                    </table>
                </Content>
            </cc1:AccordionPane>
            <cc1:AccordionPane runat="server" ID="accPaneSchedAppt">
                <Header><h1>Schedule Appointment</h1></Header>
                <Content>
                    <table style="text-align: right; padding-left: 100px;">
                        <tr>
                            <td>Doctor: </td>
                            <td style="text-align: left;">
                                <asp:DropDownList ID="ddlDoctors" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>Date:</td>
                            <td>
                                <asp:TextBox ID="txtDate" runat="server" Text="Click To Choose Date" style="color: Gray"></asp:TextBox>
                                <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDate"  >
                                </cc1:CalendarExtender> 
                            </td>
                            <td style="padding-left: 20px">Time:</td>
                            <td> 
                                <asp:DropDownList ID="ddlTime" runat="server">
                                    <asp:ListItem Value="8:00 AM"></asp:ListItem>
                                    <asp:ListItem Value="9:00 AM"></asp:ListItem>
                                    <asp:ListItem Value="10:00 AM"></asp:ListItem>
                                    <asp:ListItem Value="11:00 AM"></asp:ListItem>
                                    <asp:ListItem Value="12:00 Noon"></asp:ListItem>
                                    <asp:ListItem Value="1:00 PM"></asp:ListItem>
                                    <asp:ListItem Value="2:00 PM"></asp:ListItem>
                                    <asp:ListItem Value="3:00 PM"></asp:ListItem>
                                    <asp:ListItem Value="4:00 PM"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        </table>
                        <table style="padding-left: 150px;">
                        <tr>
                            <td>Reason:</td>
                            <td>
                                <asp:TextBox ID="txtReason" TextMode="MultiLine" runat="server"></asp:TextBox>
                            </td>                        
                        </tr>
                        </table>
                        <div style="float: right; padding-right: 119px;"> 
                            <asp:Button ID="btnScheduleAppt" runat="server" Text="Schedule Appointment" OnClick="btnScheduleAppt_Click" />
                        </div>
                </Content>
            </cc1:AccordionPane>
        </Panes>
    </cc1:Accordion>
